<!DOCTYPE html>
<html>
<head>
    <title>404</title>
    <meta name="viewport" content="initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no"
          charset="UTF-8"/>
    <style type="text/css">
        * {
            margin: 0;
            padding: 0;
        }

        .box {
            text-align: center;
        }

        .btn {
            line-height: 24px;
            text-align: center;
            font-size: 14px;
            border: 1px solid blue;
            background-color: #fff;
            margin-bottom: 20px;
            padding: 0 10px;
        }

        .message {
            position: fixed;
            bottom: 0;
            width: 100%;
            padding: 10px;
            font-size: 14px;
            color: #000;
        }
    </style>


</head>
<body>
<div class="box">
    <div class="message" id="message"></div>
    <br/>
    <button class="btn">404</button>

</div>

<script>



    console.log(window.location.host);
    console.log(window.location.href);

</script>
</body>
</html>
